﻿<%@ Assembly Name="beyCoo4Sharepoint, Version=0.1.0.0, Culture=neutral, PublicKeyToken=198669480f820df7" %>
<%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" CodeBehind="beyCooSettingsPage.aspx.cs" Inherits="beyCoo4Sharepoint.beyCooSettingsPage.BeyCooSettings, beyCoo4Sharepoint, Version=0.1.0.0, Culture=neutral, PublicKeyToken=198669480f820df7" masterpagefile="~masterurl/default.master"  %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content id="Content1" runat="Server" contentplaceholderid="PlaceHolderMain">
	<asp:ScriptManagerProxy runat="server" id="ScriptManagerProxy">
	</asp:ScriptManagerProxy>
	<p>
	<asp:Image runat="server" id="beyCooLogo" Height="150px" Width="500px" ImageAlign="Right"/></p>
	<h1>&nbsp;</h1>
	<h1><span class="s4-title-inner">Settings </span></h1>
	<h1><span class="s4-title-inner">beyCoo4Sharepoint</span></h1>

	<p>&nbsp;</p>
	<p>&nbsp;</p>
	<p class="style1">To <strong>enable</strong> the beyCoo for Sharepoint 
	plugin, please enter your customer key and save it:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
	<p><span class="style1">Customer key:&nbsp;&nbsp;&nbsp;</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<asp:TextBox runat="server" id="textboxCustomerKey" Width="300px">
	</asp:TextBox>&nbsp;<asp:Button ID="saveKeyButton" runat="server" Text="Save"/></p>
	<p class="style1"><span class="style1">To obtain a customer key, register 
	for free at <a href="http://www.beycoo.com/en/register">
	http://www.beycoo.com/en/register</a></span>.</p>
							<p class="style1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
                            <table style="width: 100%">
								<tr>
									<td style="width: 100px">
							<asp:Label runat="server" Text="Label" id="labelHTTPS" BackColor="Silver" >
							</asp:Label></td>
								</tr>
							</table>
                            <p>&nbsp;</p>
							<table style="width: 100%">
								<tr>
									<td style="width: 100px">
							Use a proxy server?&nbsp;</td>
									<td>
										<asp:CheckBox runat="server" id="checkboxUseProxy"/>
									</td>
								</tr>
							</table>
							<p class="style1">&nbsp;&nbsp;&nbsp; 
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
							<asp:Panel runat="server" id="panelProxy" Height="100px" Width="543px">
								<table style="width: 100%">
									<tr>
										<td style="width: 136px">Proxy Server 
										
										Adress:</td>
										<td style="width: 126px">
										<asp:TextBox runat="server" id="textboxProxyAddress" Width="90px">
										</asp:TextBox>
										</td>
										<td style="width: 338px">&nbsp;</td>
									</tr>
									<tr>
										<td style="width: 136px">Proxy Server 
										
										Port:</td>
										<td style="width: 126px">
										<asp:TextBox runat="server" id="textboxProxyPort" Width="90px">
										</asp:TextBox>
										</td>
										<td style="width: 338px">&nbsp;</td>
									</tr>
									<tr>
										<td style="width: 136px">Use 
										
										credentials:</td>
										<td style="width: 126px">
										<asp:CheckBox runat="server" id="checkboxUseCredentials" />
										</td>
										<td style="width: 338px">&nbsp;</td>
									</tr>
									<tr>
										<td style="width: 136px">Username: </td>
										<td style="width: 126px">
										<asp:TextBox runat="server" id="textboxProxyUser" Width="90px">
										</asp:TextBox>
										</td>
										<td style="width: 338px">&nbsp;</td>
									</tr>
									<tr>
										<td style="width: 136px">Password:</td>
										<td style="width: 126px">
										<asp:TextBox runat="server" id="textboxProxyPwd" Width="90px" TextMode="Password">
										</asp:TextBox>
										</td>
										<td style="width: 338px">
										<asp:Button runat="server" Text="Save" id="buttonSaveProxySettings" />
										</td>
									</tr>
								</table>
							</asp:Panel>
							<p>&nbsp;</p>
							
							<h3>Settings overview:</h3>
							<asp:Panel runat="server" id="Panel1">
							</asp:Panel>


  
  <WebPartPages:XsltListViewWebPart runat="server" IsIncluded="True" GhostedXslLink="main.xsl" NoDefaultStyle="TRUE" ViewFlag="8" Title="beyCoo Settings" PageType="PAGE_NORMALVIEW" ListName="" Default="FALSE" DisplayName="beyCoo Settings" __markuptype="vsattributemarkup" __WebPartId="{6D767904-DF35-40A7-A3DD-301E98855909}" partorder="2" id="lstvw" viewcontenttypeid="0x" __designer:customxsl="fldtypes_Ratings.xsl">
<XmlDefinition>
						<View Name="" MobileView="TRUE" Type="HTML" DisplayName="all items2" Url="" Level="1" BaseViewID="1" ContentTypeID="0x" ImageUrl="/_layouts/images/generic.png">
							<Query/>
							<ViewFields>
								<FieldRef Name="Edit"/>
								<FieldRef Name="List_x0020_name"/>
								<FieldRef Name="List_x0020_Type"/>
								<FieldRef Name="Activate_x0020_beyCoo"/>
								<FieldRef Name="Service"/>
								<FieldRef Name="Source"/>
								<FieldRef Name="Mapping"/>
							</ViewFields>
							<RowLimit Paged="TRUE">30</RowLimit>
							<Aggregations Value="Off"/>
							<Toolbar Type="Freeform" ShowAlways=""/>
						</View>
					</XmlDefinition>
<parameterbindings>
						<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"/>
						<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection"/>
						<ParameterBinding Name="dvt_startposition" Location="Postback" DefaultValue=""/>
						<ParameterBinding Name="dvt_firstrow" Location="Postback;Connection"/>
						<ParameterBinding Name="OpenMenuKeyAccessible" Location="Resource(wss,OpenMenuKeyAccessible)" />
						<ParameterBinding Name="open_menu" Location="Resource(wss,open_menu)" />
						<ParameterBinding Name="select_deselect_all" Location="Resource(wss,select_deselect_all)" />
						<ParameterBinding Name="idPresEnabled" Location="Resource(wss,idPresEnabled)" />
						<ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
						<ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(core,noXinviewofY_DEFAULT)" />
						<ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
						<ParameterBinding Name="MoreAnnouncements" Location="Resource(wss,moreItemsParen)" />
					</parameterbindings><xsl><xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal" xmlns:o="urn:schemas-microsoft-com:office:office"> 
  <xsl:include href="/_layouts/xsl/main.xsl"/> 
  <xsl:include href="/_layouts/xsl/internal.xsl"/> 
  						<xsl:param name="AllRows" select="/dsQueryResponse/Rows/Row[$EntityName = '' or (position() &gt;= $FirstRow and position() &lt;= $LastRow)]"/>
  						<xsl:param name="dvt_apos">'</xsl:param>
						<xsl:template name="View_Default_RootTemplate" mode="RootTemplate" match="View" ddwrt:dvt_mode="root" ddwrt:ghost="" xmlns:ddwrt2="urn:frontpage:internal">
    						<xsl:param name="ShowSelectAllCheckbox" select="'True'"/>
    						<xsl:if test="($IsGhosted = '0' and $MasterVersion=3 and Toolbar[@Type='Standard']) or $ShowAlways">
      							<xsl:call-template name="ListViewToolbar"/>
    </xsl:if>
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
      	<xsl:if test="not($NoCTX)">
        	<xsl:call-template name="CTXGeneration"/>
      </xsl:if>
      	<xsl:if test="List/@TemplateType=109">
        	<xsl:call-template name="PicLibScriptGeneration"/>
      </xsl:if>
      <tr>
        <td>
          	<xsl:if test="not($NoAJAX)">
            <iframe src="javascript:false;" id="FilterIframe{$ViewCounter}" name="FilterIframe{$ViewCounter}" style="display:none" height="0" width="0" FilterLink="{$FilterLink}"></iframe>
          </xsl:if>
          <table summary="{List/@title} {List/@description}" o:WebQuerySourceHref="{$HttpPath}&amp;XMLDATA=1&amp;RowLimit=0&amp;View={$View}" 
                          width="100%" border="0" cellspacing="0" dir="{List/@Direction}">
            <xsl:if test="not($NoCTX)">
              	<xsl:attribute name="onmouseover">EnsureSelectionHandler(event,this,<xsl:value-of select ="$ViewCounter"/>)</xsl:attribute>
            </xsl:if>
            <xsl:if test="$NoAJAX">
              	<xsl:attribute name="FilterLink">
                <xsl:value-of select="$FilterLink"/>
              </xsl:attribute>
            </xsl:if>
            <xsl:attribute name="cellpadding">
              	<xsl:choose>
                	<xsl:when test="ViewStyle/@ID='15' or ViewStyle/@ID='16'">0</xsl:when>
                	<xsl:otherwise>1</xsl:otherwise>
              	</xsl:choose>
            </xsl:attribute>
            <xsl:attribute name="id">
              	<xsl:choose>
                	<xsl:when test="$IsDocLib or dvt_RowCount = 0">onetidDoclibViewTbl0</xsl:when>
                	<xsl:otherwise>
                  <xsl:value-of select="concat($List, '-', $View)"/>
                </xsl:otherwise>
              	</xsl:choose>
            </xsl:attribute>
            <xsl:attribute name="class">
              	<xsl:choose>
                	<xsl:when test="ViewStyle/@ID='0' or ViewStyle/@ID='17'"><xsl:value-of select="$ViewClassName"/> ms-basictable</xsl:when>
                	<xsl:otherwise><xsl:value-of select="$ViewClassName"/></xsl:otherwise>
              	</xsl:choose>
            </xsl:attribute>
            <xsl:if test="$InlineEdit">
              	<xsl:attribute name="inlineedit">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent('__cancel;dvt_form_key={@ID}')"/>;CoreInvoke('ExpGroupOnPageLoad', 'true');</xsl:attribute>
            </xsl:if>
            <xsl:apply-templates select="." mode="full">
              	<xsl:with-param name="ShowSelectAllCheckbox" select="$ShowSelectAllCheckbox"/>
            </xsl:apply-templates>
          </table>
              <xsl:choose>
                <xsl:when test="$IsDocLib or dvt_RowCount = 0"><script type='text/javascript'>HideListViewRows("onetidDoclibViewTbl0");</script></xsl:when>
                <xsl:otherwise>
                  <script type='text/javascript'><xsl:value-of select ="concat('HideListViewRows(&quot;', $List, '-', $View, '&quot;);')"/></script>
                </xsl:otherwise>
              </xsl:choose>
        </td>
      </tr>
      	<xsl:if test="$dvt_RowCount = 0 and not (@BaseViewID='3' and List/@TemplateType='102')">
        <tr>
          <td>
             <table width="100%" border="0" dir="{List/@Direction}">
               	<xsl:call-template name="EmptyTemplate" />
             </table>
          </td>
        </tr>
      </xsl:if>
    </table>
    						<xsl:call-template name="pagingButtons" />
    						<xsl:if test="Toolbar[@Type='Freeform'] or ($MasterVersion=4 and Toolbar[@Type='Standard'])">
      							<xsl:call-template name="Freeform">
        							<xsl:with-param name="AddNewText">
          								<xsl:choose>
            								<xsl:when test="List/@TemplateType='104'">
              <xsl:value-of select="'Add new announcement'"/>
            </xsl:when>
            								<xsl:when test="List/@TemplateType='101' or List/@TemplateType='115'">
              <xsl:value-of select="'Add document'"/>
            </xsl:when>
            								<xsl:when test="List/@TemplateType='103'">
              <xsl:value-of select="'Add new link'"/>
            </xsl:when>
            								<xsl:when test="List/@TemplateType='106'">
              <xsl:value-of select="'Add new event'"/>
            </xsl:when>
            								<xsl:when test="List/@TemplateType='119'">
              <xsl:value-of select="'Add new page'"/>
            </xsl:when>
            								<xsl:otherwise>
              <xsl:value-of select="'Add new item'"/>
            </xsl:otherwise>
          								</xsl:choose>
        </xsl:with-param>
        							<xsl:with-param name="ID">
          								<xsl:choose>
          									<xsl:when test="List/@TemplateType='104'">idHomePageNewAnnouncement</xsl:when>
          									<xsl:when test="List/@TemplateType='101'">idHomePageNewDocument</xsl:when>
          									<xsl:when test="List/@TemplateType='103'">idHomePageNewLink</xsl:when>
          									<xsl:when test="List/@TemplateType='106'">idHomePageNewEvent</xsl:when>
          									<xsl:when test="List/@TemplateType='119'">idHomePageNewWikiPage</xsl:when>
          									<xsl:otherwise>idHomePageNewItem</xsl:otherwise>
          								</xsl:choose>
        </xsl:with-param>
      							</xsl:call-template>
    </xsl:if>
  </xsl:template></xsl:stylesheet></xsl></WebPartPages:XsltListViewWebPart>



	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							</p>
                            


							<p class="style1"><span class="style1"><strong>
							Description:</strong></p>
							<p class="style1">Define for which lists or 
							libraries beyCoo should become active and supply the 
							settings for these objects:</p>
							<ul>
								<li>select the list name for which beyCoo should 
								get to work</li>
								<li>make sure beyCoo is activated for this list</li>
								<li>choose a beyCoo service from the dropdown (currently 
								&quot;Entity extraction&quot; and &quot;Relevant Term Finder&quot; 
								are supported</li>
								<li>choose the source column from the list for 
								beyCoo (only for non-document libraries)</li>
								<li>supply an XPath mapping to map the returned 
								entities to your own target columns in the list, 
								i.e. &quot;XPath://bc:named-entity/bc:categories/bc:category[text()=&quot;person&quot;]/../../@lemma-&gt;person&quot;. 
								This XPath expression will select all persons in the beyCoo 
								response and map it to the column &quot;Person&quot; in 
								your target list. For a complete list of the 
								entities available from beyCoo for mapping, see 
								the
								<a href="http://www.beycoo.com/en/wie-funktioniert-beycoo/entitaetstypen">
								Entity Types List</a>.</span></li>
							</ul>
	<p>&nbsp;</p>

							<p>&nbsp;</p>
	<p>&nbsp;</p>
    <p>&nbsp;</p>


							<p>&nbsp;</p>
							<p>&nbsp;</p>
                            <p>&nbsp;</p>

	<p><span class="style3"></p>
	<p><span class="style4">© B-S-S Business Software Solutions GmbH 2011</p>
	<p></span><a href="http://www.beycoo.com"><span class="style4">Official 
	beyCoo site</span></a></span></p>	

</asp:Content>
